package com.clz.appdesign.net_kotlin

import android.content.Context
import com.clz.appdesign.appdependence.baseKotlin.mvp.MvpActivity
import com.clz.appdesign.appdependence.retrofit_kotlin.RetrofitClient
import com.clz.appdesign.myapp.R

class RetrofitKotlinActivity : MvpActivity<RetrofitKotlinView, RetrofitKotlinPresenter>(), RetrofitKotlinView {
    override fun testRetrofitKotlin() {

    }

    override fun initPresenter(): RetrofitKotlinPresenter {
        mPresenter= RetrofitKotlinPresenter()
        return mPresenter as RetrofitKotlinPresenter
    }

    override fun initView() {
     //   show2Loading()
    }

    override fun initData() {
        RetrofitClient.instance.init()
        mPresenter?.testRetrofitKotlin()
    }

    override fun doBusiness(mContext: Context) {

    }

    override fun layoutResID(): Int {
        return R.layout.activity_retrofit_kotlin
    }

    override fun initToolbar() {

    }


}





